window.messageData = {
	create: (messageType = MessageData.type.CHAT, message = '', receiveUserId, extension) => {
		return {
			header:{
				messageType: messageType,
				sendUserId: app.getUserId(),
				receiveUserId: receiveUserId
			},
			body :{
				message: message
			},
			extension: {}
		}
	},
	type: {
		CONNECT: 1, // 第一次(或重连)初始化连接
		CHAT: 2, // 聊天消息
		SIGNED: 3, // 消息签收
		KEEPALIVE: 4, // 客户端保持心跳
		PULL_FRIEND: 5, // 重新拉取好友
	}
}
